package com.zansc.longd.service.s;

import com.zansc.longd.domain.entity.s.User;
import com.zansc.longd.model.base.in.UserIn;

import java.util.List;

public interface UserService {
    
    void add(UserIn userIn);
    
    User findUserByName(String username);
    
    List<User> findAll();
    
    User selectByPrimaryKey(int id);
    
    int updateByPrimaryKey(User id);
    
    String login(String username, String password);
    
}
